package secondkill.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import secondkill.validator.IsMobile;

import javax.validation.constraints.NotNull;

/**
 * 登陆参数
 * @Auther  丁子川
 * @create 2022/1/13 15:27
 */
@Data
public class LoginVo {

    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    @Length(min = 32)
    private String password;
}
